package com.bcbim.smart_water_interface.weather.service;

import com.alibaba.fastjson.JSONObject;
import com.bcbim.smart_water_interface.weather.dao.WeatherDAO;
import com.bcbim.smart_water_interface.weather.vo.WeatherAnalysisVO;

import java.util.List;

/**
 * @description: 气象信息 service 接口
 * @author: zhangfan
 * @time: 2021/1/18
 */
public interface WeatherService {

    /**
     * @Description: 获取天气信息
     * @Param: version 天气接口类型
     * @Author: zhangfan
     * @date: 2021/1/18
     */
    JSONObject listWeather(String version);

    int insert(WeatherDAO record);

    List<WeatherAnalysisVO> listWeatherAnalysis();
}
